package com.syni.mdd.yhd.common.all.dto.requestDto;

import com.syni.mdd.yhd.common.all.validationGroup.GroupDelete;
import com.syni.mdd.yhd.common.all.validationGroup.GroupFind;
import com.syni.mdd.yhd.common.all.validationGroup.GroupInsert;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class BmsDxFoodLibraryReDto extends BaseReDto implements Serializable {

    @NotNull(groups = GroupFind.class)
    private Integer businessId;

    @NotNull(groups = GroupInsert.class)
    private String foodTypeName;

    @NotNull(groups = GroupDelete.class)
    private Integer libraryId;


}
